set(LIBXMP_SRC_LIST 
    src/virtual.c
    src/format.c
    src/period.c
    src/player.c
    src/read_event.c
    src/dataio.c
    src/misc.c
    src/mkstemp.c
    src/md5.c
    src/lfo.c
    src/scan.c
    src/control.c
    src/far_extras.c
    src/med_extras.c
    src/filter.c
    src/effects.c
    src/mixer.c
    src/mix_all.c
    src/load_helpers.c
    src/load.c
    src/hio.c
    src/hmn_extras.c
    src/extras.c
    src/smix.c
    src/filetype.c
    src/memio.c
    src/tempfile.c
    src/mix_paula.c
    src/miniz_tinfl.c
    src/win32.c
    src/loaders/common.c
    src/loaders/iff.c
    src/loaders/itsex.c
    src/loaders/lzw.c
    src/loaders/voltable.c
    src/loaders/sample.c
    src/loaders/vorbis.c
    src/loaders/xm_load.c
    src/loaders/mod_load.c
    src/loaders/s3m_load.c
    src/loaders/stm_load.c
    src/loaders/669_load.c
    src/loaders/far_load.c
    src/loaders/mtm_load.c
    src/loaders/ptm_load.c
    src/loaders/okt_load.c
    src/loaders/ult_load.c
    src/loaders/mdl_load.c
    src/loaders/it_load.c
    src/loaders/stx_load.c
    src/loaders/pt3_load.c
    src/loaders/sfx_load.c
    src/loaders/flt_load.c
    src/loaders/st_load.c
    src/loaders/emod_load.c
    src/loaders/imf_load.c
    src/loaders/digi_load.c
    src/loaders/fnk_load.c
    src/loaders/ice_load.c
    src/loaders/liq_load.c
    src/loaders/ims_load.c
    src/loaders/masi_load.c
    src/loaders/masi16_load.c
    src/loaders/amf_load.c
    src/loaders/stim_load.c
    src/loaders/mmd_common.c
    src/loaders/mmd1_load.c
    src/loaders/mmd3_load.c
    src/loaders/rtm_load.c
    src/loaders/dt_load.c
    src/loaders/no_load.c
    src/loaders/arch_load.c
    src/loaders/sym_load.c
    src/loaders/med2_load.c
    src/loaders/med3_load.c
    src/loaders/med4_load.c
    src/loaders/dbm_load.c
    src/loaders/umx_load.c
    src/loaders/gdm_load.c
    src/loaders/pw_load.c
    src/loaders/gal5_load.c
    src/loaders/gal4_load.c
    src/loaders/mfp_load.c
    src/loaders/asylum_load.c
    src/loaders/muse_load.c
    src/loaders/hmn_load.c
    src/loaders/mgt_load.c
    src/loaders/chip_load.c
    src/loaders/abk_load.c
    src/loaders/coco_load.c
    src/loaders/xmf_load.c
)

set(LIBXMP_SRC_LIST_PROWIZARD 
    src/loaders/prowizard/prowiz.c
    src/loaders/prowizard/ptktable.c
    src/loaders/prowizard/tuning.c
    src/loaders/prowizard/ac1d.c
    src/loaders/prowizard/di.c
    src/loaders/prowizard/eureka.c
    src/loaders/prowizard/fc-m.c
    src/loaders/prowizard/fuchs.c
    src/loaders/prowizard/fuzzac.c
    src/loaders/prowizard/gmc.c
    src/loaders/prowizard/heatseek.c
    src/loaders/prowizard/ksm.c
    src/loaders/prowizard/mp.c
    src/loaders/prowizard/np1.c
    src/loaders/prowizard/np2.c
    src/loaders/prowizard/np3.c
    src/loaders/prowizard/p61a.c
    src/loaders/prowizard/pm10c.c
    src/loaders/prowizard/pm18a.c
    src/loaders/prowizard/pha.c
    src/loaders/prowizard/prun1.c
    src/loaders/prowizard/prun2.c
    src/loaders/prowizard/tdd.c
    src/loaders/prowizard/unic.c
    src/loaders/prowizard/unic2.c
    src/loaders/prowizard/wn.c
    src/loaders/prowizard/zen.c
    src/loaders/prowizard/tp1.c
    src/loaders/prowizard/tp3.c
    src/loaders/prowizard/p40.c
    src/loaders/prowizard/xann.c
    src/loaders/prowizard/theplayer.c
    src/loaders/prowizard/pp10.c
    src/loaders/prowizard/pp21.c
    src/loaders/prowizard/starpack.c
    src/loaders/prowizard/titanics.c
    src/loaders/prowizard/skyt.c
    src/loaders/prowizard/novotrade.c
    src/loaders/prowizard/hrt.c
    src/loaders/prowizard/noiserun.c
)

set(LIBXMP_SRC_LIST_DEPACKERS 
    src/depackers/depacker.c
    src/depackers/ppdepack.c
    src/depackers/unsqsh.c
    src/depackers/mmcmp.c
    src/depackers/s404_dec.c
    src/depackers/arc.c
    src/depackers/arcfs.c
    src/depackers/arc_unpack.c
    src/depackers/lzx.c
    src/depackers/lzx_unpack.c
    src/depackers/miniz_zip.c
    src/depackers/unzip.c
    src/depackers/gunzip.c
    src/depackers/uncompress.c
    src/depackers/bunzip2.c
    src/depackers/unlha.c
    src/depackers/unxz.c
    src/depackers/xz_dec_lzma2.c
    src/depackers/xz_dec_stream.c
    src/depackers/crc32.c
    src/depackers/xfnmatch.c
    src/depackers/ptpopen.c
    src/depackers/xfd.c
    src/depackers/xfd_link.c
    src/depackers/lhasa/ext_header.c
    src/depackers/lhasa/lha_file_header.c
    src/depackers/lhasa/lha_input_stream.c
    src/depackers/lhasa/lha_decoder.c
    src/depackers/lhasa/lha_reader.c
    src/depackers/lhasa/lha_basic_reader.c
    src/depackers/lhasa/lh1_decoder.c
    src/depackers/lhasa/lh5_decoder.c
    src/depackers/lhasa/lh6_decoder.c
    src/depackers/lhasa/lh7_decoder.c
    src/depackers/lhasa/lhx_decoder.c
    src/depackers/lhasa/lk7_decoder.c
    src/depackers/lhasa/lz5_decoder.c
    src/depackers/lhasa/lzs_decoder.c
    src/depackers/lhasa/null_decoder.c
    src/depackers/lhasa/pm1_decoder.c
    src/depackers/lhasa/pm2_decoder.c
    src/depackers/lhasa/macbinary.c
)
